package cn.ihna.test.jardemo.intro;

import cn.ihna.test.jardemo.service.CacheService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @author 京程(xianyingda)
 * @date 2020/12/23
 * @time 8:43 AM
 */
@Component
public class MyIntroClass {

    @Autowired
    private CacheService cacheService;

    public void start() {
        System.out.println("i am started");
        int listSize = cacheService.getListSize("json-format");
        System.out.println("listSize = " + listSize);
    }
}
